package Entity;

/**
 * 
 * Entity: Course.
 * contain Course Entity properties along with getters and setters to each property.
 * Also contain constructors.
 *
 */
public class Course 
{
	String CourseName;
	String StartDate;
	Integer Qualified,Enrolled;
	
	/**
	 * 
	 * @return how many dogs qualified the course
	 */
	public Integer getQualified() {
		return Qualified;
	}
	/**
	 * 
	 * @param qualified hoe many dog qualified the course
	 */
	public void setQualified(Integer qualified) {
		Qualified = qualified;
	}
	/**
	 * 
	 * @return how many dogs enrolled to that course
	 */
	public Integer getEnrolled() {
		return Enrolled;
	}
	/**
	 * 
	 * @param enrolled how many dogs enrolled to that course
	 */
	public void setEnrolled(Integer enrolled) {
		Enrolled = enrolled;
	}
	/**
	 * Course Constructor.
	 * @param name Course name
	 * @param date Course begin Date
	 */
	public Course(String name,String date)
	{
		this.CourseName=name;
		this.StartDate=date;
		this.Qualified=0;
		this.Enrolled=0;
	}
	/**
	 * 
	 * @return course name
	 */
	public String getCourseName()
	{
		return CourseName;
	}
	/**
	 * 
	 * @param courseName Course name to be set
	 */
	public void setCourseName(String courseName) 
	{
		CourseName = courseName;
	}
	/**
	 * 
	 * @return Course start date
	 */
	public String getStartDate() 
	{
		return StartDate;
	}
	/**
	 * 
	 * @param startDate - Course start date
	 */
	public void setStartDate(String startDate) 
	{
		StartDate = startDate;
	}

}
